package com.ynet.middleground.riskmanage.bean;

import javax.validation.constraints.NotBlank;

import com.ynet.core.common.BaseReqObj;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * @author songyf
 * @description 历史业务量信息查询
 * @date 2020-08-20 10:10
 */
@Data
@EqualsAndHashCode(callSuper = false)
@ApiModel(value = "大港历史业务量查询请求信息", description = "大港历史业务量查询请求信息")
public class DgCargoInYardQueryReq extends BaseReqObj {

    private static final long serialVersionUID = 3582165633484425127L;

    @ApiModelProperty(value = "作业委托人 ID", notes = "作业委托人 ID", required = true)
    @NotBlank(message = "作业委托人 ID不能为空")
    private String userNo;
    
    @ApiModelProperty(value = "作业委托人", notes = "作业委托人")
    private String userName;
    
    @ApiModelProperty(value = "货名代码", notes = "货名代码", required = true)
    @NotBlank(message = "货名代码不能为空")
    private String typeCode;
    
    @ApiModelProperty(value = "货名", notes = "货名")
    private String typeName;
    
    @ApiModelProperty(value = "开始时间", notes = "开始时间", required = true)
    @NotBlank(message = "开始时间不能为空")
    private String startDate;
    
    @ApiModelProperty(value = "结束时间", notes = "结束时间", required = true)
    @NotBlank(message = "结束时间不能为空")
    private String endDate;
}
